// cover some element-ui styles
@import './variables.scss';

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

//修改select样式
.el-input--suffix .el-input__inner {
  background: #2F3242;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  border: none;
  color: #A6A6A7;
  // height: 35px;
}


.el-select-dropdown__item.selected {
  color: $mainColor
}

//设置table隔行变颜色
.el-table .even-row {
  background:#1E1D2B;
}
.el-table .odd-row {
  background: #31414D;
}

.el-table th.is-leaf, .el-table td {
  border: none;
}

.el-table tr {
  color: #A6A6A7;
}

.el-table__body-wrapper {
  background: #2F3242;
}

.el-table th.gutter, .el-table td.gutter {
  background: #282a35;
}

//鼠标悬浮样式切换
.el-table--enable-row-hover .el-table__body tr:hover>td{
  background-color: #3E626A;
  color: #21DEAC;
}

.el-table::before {
  height: 0;
}

//input设置背景颜色
.el-input__inner {
  background: #268d80;
  color: #fff;
  border: none;
}

.el-input__icon {
  line-height: 36px;
}

//checkbox 文字颜色
.el-checkbox {
  color: #CCCCCC
}

.el-tabs__item {
  color: #fff;
}

